<%@page import="com.liferay.portal.kernel.dao.search.ResultRow"%>
<%@ include file="/html/quangcao_admin/init.jsp"%>

<%
	ResultRow resultRow = (ResultRow) request
			.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);

	QuangCao_banner qc = (QuangCao_banner) resultRow.getObject();

	String primkey = String.valueOf(qc.getQuangCaoId());
%>
<portlet:renderURL var="viewURL">
	<portlet:param name="jspPage" value="/html/quangcao_admin/viewdetail.jsp" />
	<portlet:param name="resourcePrimarykey" value="<%=primkey%>" />
</portlet:renderURL>

<portlet:actionURL name="deleteBanner" var="deleteBannerURL">
	<portlet:param name="primkey" value="<%=primkey%>" />
</portlet:actionURL>

<portlet:renderURL var="editURL">
	<portlet:param name="jspPage" value="/html/quangcao_admin/edit.jsp" />
	<portlet:param name="resourcePrimarykey" value="<%=primkey%>" />
</portlet:renderURL>

<portlet:actionURL name="publishBanner" var="publishBannerURL">
	<portlet:param name="primkey" value="<%=primkey%>" />
</portlet:actionURL>

<portlet:actionURL name="unpublishBanner" var="unpublishBannerURL">
	<portlet:param name="primkey" value="<%=primkey%>" />
</portlet:actionURL>

<liferay-ui:icon-menu>
	<liferay-ui:icon image="view" message="view" url="<%=viewURL.toString() %>" >
	</liferay-ui:icon>
	
	<liferay-ui:icon image="edit" message="edit" url="<%=editURL.toString()%>">
	</liferay-ui:icon>

	<liferay-ui:icon-delete url="<%=deleteBannerURL.toString()%>">
	</liferay-ui:icon-delete>
</liferay-ui:icon-menu>